##
## Makefile for a in /home/phan_d/
## 
## Made by david phan
## Login   <phan_d@epitech.net>
## 
## Started on  Sat Nov 27 13:21:10 2010 david phan
##

CC= gcc

NAME= trade

CFLAGS= -W -Wall

LDFLAGS= -lc

SRC= 	main.c		\
	fill_etude.c	\
	int_to_char.c	\
	init.c		\

OBJ= $(SRC:.c=.o)

RM= rm -f


all : $(NAME)

$(NAME) : $(OBJ)
	$(CC) -o $(NAME) $(OBJ) $(LDFLAGS)

clean :
	$(RM) $(OBJ)
	$(RM) *~ \#*\#

fclean : clean
	$(RM) $(NAME)

re : fclean all

reclean: all clean

.PHONY : all clean fclean re